import time

timestart = time.time()
time.sleep(5)
timeend = time.time()

print('Time taken: ', round(timeend - timestart))